home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d892.lha / Indent / source / source.lha / Makefile.Amiga < prev    next >
Makefile  |  1993-06-24  |  680b  |  27 lines

  1. # Makefile for GNU Indent using SAS/C 6.3
  2.  
  3. CFLAGS = DEF=AMIGA IGN=85+100+161+304 OPT
  4. CC = sc
  5.  
  6. .c.o:
  7.     $(CC) $(CFLAGS) $<
  8.  
  9. SRC =      indent.c io.c lexi.c parse.c pr_comment.c args.c globs.c backup.c
  10. OBJ =      indent.o io.o lexi.o parse.o pr_comment.o args.o globs.o backup.o
  11. HEADERS = indent_globs.h version.h
  12.  
  13. all: indent
  14.  
  15. indent: $(OBJ)
  16.         slink FROM LIB:c.o $(OBJ) TO indent LIB LIB:scm.lib LIB:sc.lib \
  17.     STRIPDEBUG
  18.  
  19. indent.o: indent.c indent.h sys.h
  20. io.o: io.c indent.h sys.h
  21. lexi.o: lexi.c indent.h sys.h
  22. parse.o: parse.c indent.h sys.h
  23. pr_comment.o: pr_comment.c indent.h sys.h
  24. args.o: args.c indent.h sys.h version.h
  25. globs.o: globs.c sys.h
  26. backup.o: backup.c backup.h sys.h
  27.